﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>更新项目</title>
    <link href="~/Scripts/jquery-easyui/themes/bootstrap/easyui.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-easyui/jquery.min.js"></script>
    <script src="~/Scripts/jquery-easyui/jquery.easyui.min.js"></script>
    <script src="~/Scripts/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <link href="~/Content/themes/icon.css" rel="stylesheet" />
    <script src="~/Content/js/common.js"></script>
    <link href="~/Content/themes/table.css" rel="stylesheet" />
    <link href="~/Content/formstyles.css" rel="stylesheet" />
    <script type="text/javascript"></script>
</head>
<body>
    <script type="text/javascript">
        //$(function () {
        //    $('#comDepartmentList').combobox({ valueField: 'DepartmentName', textField: 'DepartmentName' });
        //     $.ajax({ 
        //        url: "/Project/SelectDepartment",
        //        type: "post",
        //        data: {},
        //        dataType: "json",
        //        success: function(data) {
        //        $('#comDepartmentList').combobox("loadData", data);                        
        //        },          
        //    })
        // })
    </script>
        <div class="label" style="padding:5px">项目编码</div>
        <div class="value ">
            <input type="hidden" name="ProjectID" id="ProjectID" />
            <input type="text" class="easyui-textbox" id="ProjectNo" name="ProjectNo" data-options="disabled:true" />
        </div>
        <div class="label" style="padding:5px">项目名称</div>
        <div class="value ">
            <input type="text" class="easyui-textbox" name="ProjectName" id="ProjectName" data-options="disabled:true" />
        </div>
        <div class="clear"></div>

        <div class="label" style="padding:5px">项目管理员</div>
        <div class="value ">
            <input type="text" id="ProjectManager" class="easyui-textbox" data-options="disabled:true" />
        </div>
        <div class="label" style="padding:5px">业务员</div>
        <div class="value ">
            <input type="text" id="ProjectClerk" class="easyui-textbox" data-options="disabled:true" />
        </div>
    <div class="label" style="padding:5px">部门</div>
    <div class="value">
        <input class="easyui-combobox" id="comDepartmentList" name="comDepartmentList" data-options=" required:true, valueField: 'DepartmentName', textField: 'DepartmentName',url: '/Project/SelectDepartment', ">
    </div>
        <div class="clear"></div>
        <div class="label" style="padding:5px">项目描述</div>
        <div style="float:left;padding:8px; width:900px; height:100px; ">
            <input id="Remark" class="easyui-textbox" data-options="multiline:true,disabled:true" style="width:600px;height:100px">
        </div>
        <div class="clear"></div>
        <div class="label" style="padding:5px">更新人</div>
        <div class="value "><input type="text" id="UpdateBy" class="easyui-textbox" data-options="disabled:true" style="width:70px;" /></div>

        <div class="value"><input type="text" id="UpdateTime" class="easyui-textbox" data-options="disabled:true" /></div>

        <div class="label" style="padding:5px">创建人</div>
        <div class="value "><input type="text" id="CreateBy" class="easyui-textbox" data-options="disabled:true" style="width:70px;" /></div>

        <div class="value"><input type="text" id="CreateTime" class="easyui-textbox" data-options="disabled:true"></div>
        <div class="clear"></div>
        <div class="clear"></div>
        <div id="tt" class="easyui-tabs" style=" padding:3px; ">
            <div id="div_business" title="项目商务">
                <div class="label">执行人</div>
                <div class="value ">
                    <input id="bsExecutor" class="easyui-textbox">
                </div>
                <div class="clear"></div>
                <div class="label">计划工期</div>
                <div class="value"><input type="text" id="bsPSTime" class="easyui-datebox" style="width:100px;" /> 至 <input type="text" id="bsPETime" class="easyui-datebox" style="width:100px;" /></div>
             <div class="label">实际工期</div>
                <div class="value"><input type="text" id="bsRSTime" class="easyui-datebox" style="width:100px;" /> 至 <input type="text" id="bsRETime" class="easyui-datebox" style="width:100px;" /></div>
                <div class="clear"></div>
                <div class="label">备注</div>
                <div style="float:left;padding:3px; width:555px; height:50px; ">
                    <input id="bsRemark" class="easyui-textbox" data-options="multiline:true" style="width:555px;height:45px">
                </div>
                <div class="clear"></div>
                <div class="label">附件管理</div>
                <table id="bsdatagrid" class="easyui-datagrid" style=" width:500px;height:250px"
        data-options="singleSelect:true,collapsible:true,toolbar: '#tb'">
     <thead>
         <tr>
             <th data-options="field:'AppendID',hidden: true">ID</th>
             <th data-options="field:'AppendPath',hidden: true">path</th>
             <th data-options="field:'AppendName',width:220">文件名称</th>
             <th data-options="field:'UpdateTime',width:140,align:'right'">上传时间</th>
             <th data-options="field:'UpdateBy',width:80,align:'right'">上传人</th>

         </tr>
     </thead>
 </table>

</div>

<div id="div_technology" title="合同签订">
    <div class="label">执行人</div>
    <div class="value ">
        <input id="tyExecutor" class="easyui-textbox">
    </div>
    <div class="clear"></div>
    <div class="label">计划工期</div>
    <div class="value"><input type="text" id="tyPSTime" class="easyui-datebox" style="width:100px;" /> 至 <input type="text" id="tyPETime" class="easyui-datebox" style="width:100px;" /></div>
    <div class="label">实际工期</div>
    <div class="value"><input type="text" id="tyRSTime" class="easyui-datebox" style="width:100px;" /> 至 <input type="text" id="tyRETime" class="easyui-datebox" style="width:100px;" /></div>
    <div class="clear"></div>
    <div class="label">备注</div>
    <div style="float:left;padding:3px; width:555px; height:50px; ">
        <input id="tyRemark" class="easyui-textbox" data-options="multiline:true" style="width:555px;height:45px">
    </div>
    <div class="clear"></div>
    <div class="label">附件管理</div>
    <table id="tydatagrid" class="easyui-datagrid" style=" width:500px;height:250px"
        data-options="singleSelect:true,collapsible:true,toolbar: '#tb'">
     <thead>
         <tr>
             <th data-options="field:'AppendID',hidden: true">ID</th>
             <th data-options="field:'AppendPath',hidden: true">path</th>
             <th data-options="field:'AppendName',width:220">文件名称</th>
             <th data-options="field:'UpdateTime',width:140,align:'right'">上传时间</th>
             <th data-options="field:'UpdateBy',width:80,align:'right'">上传人</th>

         </tr>
     </thead>
 </table>
</div>
<div id="div_design" title="项目设计">
    <div class="label">执行人</div>
    <div class="value ">
        <input id="dnExecutor" class="easyui-textbox">
    </div>
    <div class="clear"></div>
    <div class="label">计划工期</div>
    <div class="value"><input type="text" id="dnPSTime" class="easyui-datebox" style="width:100px;" /> 至 <input type="text" id="dnPETime" class="easyui-datebox" style="width:100px;" /></div>
    <div class="label">实际工期</div>
    <div class="value"><input type="text" id="dnRSTime" class="easyui-datebox" style="width:100px;" /> 至 <input type="text" id="dnRETime" class="easyui-datebox" style="width:100px;" /></div>
    <div class="clear"></div>
    <div class="label">备注</div>
    <div style="float:left;padding:3px; width:555px; height:50px; ">
        <input id="dnRemark" class="easyui-textbox" data-options="multiline:true" style="width:555px;height:45px">
    </div>

    <div class="clear"></div>
    <div class="label">附件管理</div>
    <table id="dndatagrid" class="easyui-datagrid" style=" width:500px;height:250px"
        data-options="singleSelect:true,collapsible:true,toolbar: '#tb'">
     <thead>
         <tr>
             <th data-options="field:'AppendID',hidden: true">ID</th>
             <th data-options="field:'AppendPath',hidden: true">path</th>
             <th data-options="field:'AppendName',width:220">文件名称</th>
             <th data-options="field:'UpdateTime',width:140,align:'right'">上传时间</th>
             <th data-options="field:'UpdateBy',width:80,align:'right'">上传人</th>

         </tr>
     </thead>
 </table>
</div>
<div id="div_manufacture" title="生产制造">
    <div class="label">执行人</div>
    <div class="value ">
        <input id="meExecutor" class="easyui-textbox">
    </div>
    <div class="clear"></div>
    <div class="label">计划工期</div>
    <div class="value"><input type="text" id="mePSTime" class="easyui-datebox" style="width:100px;" /> 至 <input type="text" id="mePETime" class="easyui-datebox" style="width:100px;" /></div>
    <div class="label">实际工期</div>
    <div class="value"><input type="text" id="meRSTime" class="easyui-datebox" style="width:100px;" /> 至 <input type="text" id="meRETime" class="easyui-datebox" style="width:100px;" /></div>
    <div class="clear"></div>
    <div class="label">预估工时</div>
    <div class="value"><input id="estWorkTime" class="easyui-textbox" data-options="validType:'intOrFloat'" width="60"></div>
    <div class="value">
        <input id="workitem1" name="site1" value="请选择" width="122"> <input id="weight1" class="easyui-textbox" data-options="validType:'intOrFloat'" style="width:50px">吨
        <input id="workitem2" name="site2" value="请选择" width="122"> <input id="weight2" class="easyui-textbox" data-options="validType:'intOrFloat' " style="width:50px">吨
    </div>
    <div class="clear"></div>
    <div class="label">备注</div>
    <div style="float:left;padding:3px; width:555px; height:50px; ">
        <input id="meRemark" class="easyui-textbox" data-options="multiline:true" style="width:555px;height:45px">
    </div>
    <div class="clear"></div>
    <div class="label">附件管理</div>
    <table id="medatagrid" class="easyui-datagrid" style=" width:500px;height:250px"
        data-options="singleSelect:true,collapsible:true,toolbar: '#tb'">
     <thead>
         <tr>
             <th data-options="field:'AppendID',hidden: true">ID</th>
             <th data-options="field:'AppendPath',hidden: true">path</th>
             <th data-options="field:'AppendName',width:220">文件名称</th>
             <th data-options="field:'UpdateTime',width:140,align:'right'">上传时间</th>
             <th data-options="field:'UpdateBy',width:80,align:'right'">上传人</th>

         </tr>
     </thead>
 </table>
</div>
<div id="div_construction" title="现场施工">
    <div class="label">执行人</div>
    <div class="value ">
        <input id="cnExecutor" class="easyui-textbox">
    </div>
    <div class="clear"></div>
    <div class="label">计划工期</div>
    <div class="value"><input type="text" id="cnPSTime" class="easyui-datebox" style="width:100px;" /> 至 <input type="text" id="cnPETime" class="easyui-datebox" style="width:100px;" /></div>
    <div class="label">实际工期</div>
    <div class="value"><input type="text" id="cnRSTime" class="easyui-datebox" style="width:100px;" /> 至 <input type="text" id="cnRETime" class="easyui-datebox" style="width:100px;" /></div>
    <div class="clear"></div>
    <div class="label">备注</div>
    <div style="float:left;padding:3px; width:555px; height:50px; ">
        <input id="cnRemark" class="easyui-textbox" data-options="multiline:true" style="width:555px;height:45px">
    </div>
    <div class="clear"></div>
    <div class="label">附件管理</div>
    <table id="cndatagrid" class="easyui-datagrid" style=" width:500px;height:150px"
        data-options="singleSelect:true,collapsible:true,toolbar: '#tb'">
     <thead>
         <tr>
             <th data-options="field:'AppendID',hidden: true">ID</th>
             <th data-options="field:'AppendPath',hidden: true">path</th>
             <th data-options="field:'AppendName',width:220">文件名称</th>
             <th data-options="field:'UpdateTime',width:140,align:'right'">上传时间</th>
             <th data-options="field:'UpdateBy',width:80,align:'right'">上传人</th>

         </tr>
     </thead>
 </table>
</div>

</div>

</body>
</html>
